// Package common used to store constants, data conversion functions, timers, etc
package common

// joint the topic like topic := fmt.Sprintf(TopicTwinUpdateDelta, deviceID)
const (
	TopicTwinUpdateDelta = "$hw/events/device/%s/twin/update/delta"
	TopicTwinUpdate      = "$hw/events/device/%s/twin/update"
	TopicStateUpdate     = "$hw/events/device/%s/state/update"
	TopicDataUpdate      = "$ke/events/device/%s/data/update"
)

// Device status definition.
const(
	DEVSTOK        = "OK"
	DEVSTDISCONN   = "DISCONNECTED"
)

// joint x joint the container like driverName :=  common.DriverPrefix+instanceID+twin.PropertyName
const(
	DriverPrefix = "Driver"
	MorePrefix = "More"
)
